{% extends 'account/base.html' %}
{% load static %}


{% block title %}
    <title>注册丨MYCRM</title>
{% endblock title %}
{% block head %}
    <h1>ShareLink</h1>
    <div class="connect">
        <p style="left: 0%;">Link the world. Share to world.</p>
    </div>
{% endblock head %}
{% block content %}
    <form action="{% url 'sales:register' %}" method="post" id="registerForm"
          novalidate="novalidate">
        {% csrf_token %}
        {% for field in register_form %}
            <div>
                {{ field }}
                <span class="error-tips">{{ field.errors.0 }}</span>
            </div>
        {% endfor %}
        <button id="submit" type="submit">注 册</button>
    </form>
    <a href="{% url 'sales:login' %}">
        <button type="button" class="register-tis">已经有账号？</button>
    </a>
{% endblock content %}

{% block custom_js %}
    <script>

    </script>
{% endblock custom_js %}